package com.juzi.dongtai;

public class ArrayDemo1 {
    public static void main(String[] args) {
        //目标：学会动态初始化的定义和使用
        double[] scores = new double[3];//[0.0,0.0,0.0]
        //                                   0   1   2

        //赋值
        scores [0] = 99.5;
        System.out.println(scores[0]);
        System.out.println(scores[1]);


        String[] names = new String[90];
        names[0]= "桔子";
        names[2]= "熊🐻";
        System.out.println(names[0]);
        System.out.println(names[1]);
        System.out.println(names[2]);
    }
}
